package com.hugeyurt.controller;

import com.hugeyurt.service.CourseService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CourseSkillController
{
    @Resource
    private CourseService   courseService;

    @GetMapping("skill")
    public  Boolean doSkill(String sno,Integer cno)
    {
        return courseService.secondKill(sno,cno);
    }
}
